try {
	Type.registerNamespace('ReturnInScanVO');

	//借出还回扫码记录VO
	ReturnInScanVO = function() {};
	ReturnInScanVO.prototype = new NCMMPubUtil.SuperVO();
	ReturnInScanVO.PK_SCAN = {
		name: "pk_scan",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.PK_HEAD = {
		name: "pk_head",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.PK_ORG = {
		name: "pk_org",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//出入库类型
	ReturnInScanVO.CTRANTYPEID={
		name:"ctrantypeid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//出库类型名称
	ReturnInScanVO.CTRANTYPEID_NAME={
		name:"ctrantypeid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//子表
	ReturnInScanVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.PK_ITEM = {
		name: "pk_item",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.CMATERIALVID = {
		name: "cmaterialvid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.CUNITID_CODE = {
		name: "cunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.CUNITID_NAME = {
		name: "cunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.CASTUNITID_CODE = {
		name: "castunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.CASTUNITID_NAME = {
		name: "castunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.VCHANGERATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};	
	
	ReturnInScanVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};	
	ReturnInScanVO.NSCANNUM = {
		name: "nscannum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.NSCANASTNUM = {
		name: "nscanastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.PK_RACK = {
		name: "pk_rack",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.PK_RACK_NAME = {
		name: "pk_rack_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.VSERIALCODE = {
		name: "vserialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInScanVO.prototype.getAllAttrs = function() {
		return [
			ReturnInScanVO.PK_SCAN,
			ReturnInScanVO.PK_HEAD,
			ReturnInScanVO.PK_ORG,
			ReturnInScanVO.VBILLCODE,
			ReturnInScanVO.DBILLDATE,
			ReturnInScanVO.HTS,
			ReturnInScanVO.CTRANTYPEID,
			ReturnInScanVO.CTRANTYPEID_NAME,
			//表体
			ReturnInScanVO.PK_ITEM,
			ReturnInScanVO.CROWNO,
			ReturnInScanVO.CMATERIALVID,
			ReturnInScanVO.MATERIALCODE,
			ReturnInScanVO.MATERIALNAME,
			ReturnInScanVO.MATERIALSPEC,
			ReturnInScanVO.MATERIALTYPE,
			ReturnInScanVO.MATERIALSHORTNAME,
			ReturnInScanVO.CUNITID,
			ReturnInScanVO.CUNITID_CODE,
			ReturnInScanVO.CUNITID_NAME,
			ReturnInScanVO.CASTUNITID,
			ReturnInScanVO.CASTUNITID_CODE,
			ReturnInScanVO.CASTUNITID_NAME,
			ReturnInScanVO.VCHANGERATE,
			ReturnInScanVO.NNUM,
			ReturnInScanVO.NASTNUM,
			ReturnInScanVO.VBATCHCODE,
			ReturnInScanVO.BTS,
			ReturnInScanVO.NSCANNUM,
			ReturnInScanVO.NSCANASTNUM,
			ReturnInScanVO.PK_RACK,
			ReturnInScanVO.PK_RACK_NAME,
			ReturnInScanVO.VSERIALCODE
		];
	};
	ReturnInScanVO.prototype.getTableName = function() {
		return "ic_ReturnIn_scan";
	};
	ReturnInScanVO.prototype.getPrimaryAttr = function() {
		return ReturnInScanVO.PK_SCAN;
	};
} catch(e) {
	$e(e);
}